package com.aaron.dao;

import com.aaron.pojo.User;

import java.util.List;

public interface IUserDao extends BaseMapper{

    //查询所有用户
    List<User> findAll() throws Exception;

    //根据用户条件进行查找
    User findByCondition(User user) throws Exception;

    Integer insert(User user) throws Exception;


    Integer updateById(User user) throws Exception;

    Integer deleteById(int i);
}
